#pragma once
#include "Geometry2D.h"
#include "Point.h"
class Line :public Geometry2D
{
public:
	DECLARE_SERIAL(Line)
	Line(void);
	Line(const Point& pt1, const Point& pt2):ptStart(pt1), ptEnd(pt2){}
	~Line(void);

	virtual void Serialize(CArchive& ar);

	virtual void Render(CDC* pDC) const;

	Point ptStart;
	Point ptEnd;
};
